package com.hfi.mapper;

import com.hfi.model.EmployeeMBG;
import com.hfi.model.EmployeeMBGExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface EmployeeMBGMapper {
    int countByExample(EmployeeMBGExample example);

    int deleteByExample(EmployeeMBGExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(EmployeeMBG record);

    int insertSelective(EmployeeMBG record);

    List<EmployeeMBG> selectByExample(EmployeeMBGExample example);

    EmployeeMBG selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") EmployeeMBG record, @Param("example") EmployeeMBGExample example);

    int updateByExample(@Param("record") EmployeeMBG record, @Param("example") EmployeeMBGExample example);

    int updateByPrimaryKeySelective(EmployeeMBG record);

    int updateByPrimaryKey(EmployeeMBG record);
}